import Layout from '@/layout/index'

const router = [
  {
    path: '/genTable',
    component: Layout,
    hidden: true,
    children: [
      {
        path: 'form/:id(\\d+)',
        component: (resolve) => require(['@/views/tool/gen/components/GenTableForm'], resolve),
        name: 'GenEdit',
        meta: { title: '生成配置-编辑' },
        noCache: true,
        hidden: true
      }
    ]
  }
]

export default router
